package cn.classyex.business.hr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 候选人管理对象 hr_candidate
 * 
 * @author yex
 * @date 2021-05-05
 */
public class Candidate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 候选人id */
    private Long candidateId;

    /** 候选人姓名 */
    @Excel(name = "候选人姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNumber;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 来源 */
    @Excel(name = "来源")
    private String source;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointmentTime;

    /** 面试时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "面试时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date interviewTime;

    /** 期望薪资 */
    @Excel(name = "期望薪资")
    private String expectedSalary;

    /** 候选人简历id */
    private Long resumeId;

    /** 招聘信息id */
    private Long recruitmentId;

    /** 面试评价 */
    @Excel(name = "面试评价")
    private String interviewComment;

    /** 候选人状态 */
    @Excel(name = "候选人状态")
    private String status;

    public void setCandidateId(Long candidateId) 
    {
        this.candidateId = candidateId;
    }

    public Long getCandidateId() 
    {
        return candidateId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }
    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }
    public void setAppointmentTime(Date appointmentTime) 
    {
        this.appointmentTime = appointmentTime;
    }

    public Date getAppointmentTime() 
    {
        return appointmentTime;
    }
    public void setInterviewTime(Date interviewTime) 
    {
        this.interviewTime = interviewTime;
    }

    public Date getInterviewTime() 
    {
        return interviewTime;
    }
    public void setExpectedSalary(String expectedSalary) 
    {
        this.expectedSalary = expectedSalary;
    }

    public String getExpectedSalary() 
    {
        return expectedSalary;
    }
    public void setResumeId(Long resumeId) 
    {
        this.resumeId = resumeId;
    }

    public Long getResumeId() 
    {
        return resumeId;
    }
    public void setRecruitmentId(Long recruitmentId) 
    {
        this.recruitmentId = recruitmentId;
    }

    public Long getRecruitmentId() 
    {
        return recruitmentId;
    }
    public void setInterviewComment(String interviewComment) 
    {
        this.interviewComment = interviewComment;
    }

    public String getInterviewComment() 
    {
        return interviewComment;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("candidateId", getCandidateId())
            .append("name", getName())
            .append("sex", getSex())
            .append("phoneNumber", getPhoneNumber())
            .append("email", getEmail())
            .append("birthday", getBirthday())
            .append("source", getSource())
            .append("appointmentTime", getAppointmentTime())
            .append("interviewTime", getInterviewTime())
            .append("expectedSalary", getExpectedSalary())
            .append("resumeId", getResumeId())
            .append("recruitmentId", getRecruitmentId())
            .append("interviewComment", getInterviewComment())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
